import request from "utils/request";
//保存银行卡信息
export function bankAccount_bankInfo(data = {}) {
  return request({
    url: 'api/bankAccount/bankInfo',
    method: 'post',
    data
  })
}
//银行卡信息
export function bankAccount_getInfoByUserId(params = {}, loading = true) {
  return request({
    url: 'api/bankAccount/getInfoByUserId',
    method: 'get',
    params,
    loading
  })
}
//获取提现金额
export function withdrawCash_getMoneyByUserId(params = {}, loading = true) {
  return request({
    url: 'api/withdrawCash/getMoneyByUserId',
    method: 'get',
    params,
    loading
  })
}
//提现按钮
export function settleApply_withdraw(data = {}) {
  return request({
    url: 'api/settleApply/withdraw',
    method: 'post',
    data
  })
}
